<?php
/**
 * Class paths definitions script
 *
 * This script contains a PHP global var with class path definitions for autoload
 * function.
 *
 * LICENSE: This file is part of Elfin.
 *
 *   Elfin is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   Elfin is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with Elfin.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @author Filipe Silva <silvam.filipe@gmail.com>
 * @category Application
 * @license GNU General Public License <http://www.fsf.org/licensing/licenses/gpl.html>
 */

/**
 * The class autoload rules
 * @global Array $GLOBALS['GLOBALS']
 * @name $class_path
 */
$GLOBALS['class_paths'] = array(
    'Exceptions' => array(
        'pattern' => '/^(.*)Exception$/',
        'prefix' => '',
        'sufix' => 'Exception',
        'paths' => array(
            CORE . DS . 'exceptions' . DS
        )
    ),
   'Default' => array(
        'pattern' => '/^(.*)$/',
        'prefix' => '',
        'sufix' => '',
        'paths' => array(
            CORE . DS
        )
    )
);

?>
